package com.han.jdbc.mybatis.bean;

import java.io.Serializable;

/**
 * @author hanpeng
 * @version 创建时间：2020年7月18日 下午1:04:17
 * @ClassName 类名称
 * @Description 类描述
 */
public class Emp implements Serializable{
	private Integer eId;
	private String eName;
	private Integer age;
	private String sex;
	private Dept dept;

	public Integer geteId() {
		return eId;
	}

	public void seteId(Integer eId) {
		this.eId = eId;
	}

	public String geteName() {
		return eName;
	}

	public void seteName(String eName) {
		this.eName = eName;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}
	

	public Dept getDept() {
		return dept;
	}

	public void setDept(Dept dept) {
		this.dept = dept;
	}

	@Override
	public String toString() {
		return "Emp [eId=" + eId + ", eName=" + eName + ", age=" + age + ", sex=" + sex + ", dept=" + dept + "]";
	}
}
